package com.hnevc.ormlitedemo.entity;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.util.Date;

/**
 * Created by Administrator on 2017/12/30.
 */
@DatabaseTable(tableName = "recharges")
public class RechargeRecord {
    // 主键 id 自增长
    @DatabaseField(generatedId = true)
    private int id;
    @DatabaseField()
    private Date rechargedate;
    @DatabaseField
    private String recharger;
    @DatabaseField
    private String rechargecarnumber;
    @DatabaseField
    private int rechargeamount;
    @DatabaseField
    private int rechargebalance;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getRechargedate() {
        return rechargedate;
    }

    public void setRechargedate(Date rechargedate) {
        this.rechargedate = rechargedate;
    }

    public String getRecharger() {
        return recharger;
    }

    public void setRecharger(String recharger) {
        this.recharger = recharger;
    }

    public String getRechargecarnumber() {
        return rechargecarnumber;
    }

    public void setRechargecarnumber(String rechargecarnumber) {
        this.rechargecarnumber = rechargecarnumber;
    }

    public int getRechargeamount() {
        return rechargeamount;
    }

    public void setRechargeamount(int rechargeamount) {
        this.rechargeamount = rechargeamount;
    }

    public int getRechargebalance() {
        return rechargebalance;
    }

    public void setRechargebalance(int rechargebalance) {
        this.rechargebalance = rechargebalance;
    }

    public RechargeRecord(){

    }
}
